class UserProject < ActiveRecord::Base
  set_table_name "user_project"
  set_primary_key "user_project_id"
  
  belongs_to :user,
             :class_name => 'User',
	     :foreign_key => 'user_fk';
	     
  belongs_to :project,
             :class_name => 'Project',
	     :foreign_key => 'project_fk';

  validate_presence_of :user_fk, :project_fk;
end
